<html>
<head>
<style>
div {
    position: absolute;
    left: 50px;
    top: 60px;
    width: 40px;
    height: 50px;
    background-color: red;
    transform: scale(2) rotate(90deg);
}
</style>
</head>

<body>
<div id="div"></div>
<script>
top.iframeDivElement = document.getElementById("div");
</script>
</body>

